User details

Any idea why getName() returns my username and getIsGuest() returns true after calling login()?

getName returns the string you use to login because that is what is returned by the method in CUserIdentity, if you want it to return something different then you should override the method in your UserIdentity class. getIsGuest should only return true if the state of __id is null. You could post your methods so we can see what you are doing or you could check out the to see how authentication is managed employing DB

Thanks jayrulez.