direct login after registration