can now login and logout