Added page names and route handling on success