rename routes to better reflect ending and changed page->ending in corresponding controller methods