Assignment Register new user. Auto login after registration