Added optional default values

This changed the url of the first page from `/users?page=1&perPage=10` to  `/users` and all following pages to only include the page parameter.