adding paginate functionality to users page