auto login after creating a new user