a user now is logged in upon registering