updated URL routing and error handling