Added GenericRepository and UserRepository
Fixed UserRepository.