Finished login and logout.