Simplify errors
Update error on routes.js
Prettify and move comment