Added byEmail() function to User Repo