moved page_path to application controller