User can log in and log out