Create user, log in and log out