added test when user is created they are also logged in