Added defaults for page and perPage query params