create new user, login and logout working