added page and per_page query parameters + cleaned up pagination urls