Can login and logout
merged