finished paginate for users page