Implemented HTTP interceptor; added routes for error and 404 cases.