UserIdentity authenticate method rewritten
lastLogin state added