Added method findByEmail in UserRepository.