Better error logging. Removed old routes