new version, fix a bug             uid = ac.session['entry']['user_id']             print 'uid ', uid
new version, fix a bug
            uid = ac.session['entry']['user_id']
            print 'uid ', uid

        if uid != 'null' or uid != None:
            print self.username, " logged in"
            self.kp.remove(Triple('users', 'updated', 'pang1 123456'))#remove(Triple('users', 'updated', self.username+" "+self.pw)) 
            print self.username, 'authenticate', 'succeed'
            self.kp.insert(Triple(self.username, 'authenticate', 'succeed')) 
				
        else:
            print(self.username+" authenticate failed")
            self.kp.insert(Triple(self.username, 'authenticate', 'failed


jpvanhal/cloudsizzle,jpvanhal/cloudsizzle