add pagination and scope to user model