Removed debugging code from routes