api/models/users.js refactored

reindent
jslint
user schema updated
api/index.js refactored

jslint
api/ refactored

jslint