can now log in and log out