removed error routes
security fixed to the routes