public User GetUser(string email) { return(_genericRepository.GetAll().SingleOrDefault(u => u.Email == email)); }