added session key to the user model