Add getpaginated() method to UserRepository