Added handling for page and perpage queries on user API call