allow per_page to be set via query_string in pagination