Fixes typo in login page.
Rearranged user.js and routes.js files.
Adds newlines to files.
Moved debug to dev dependencies.