User can login and logout