User login and logout fully works.