abstrac new user validation into repo.