Refactored code to mongoose
Configs mongo schema
builds schema and crypto functionality
builds user schema
request handler refactored to use mongo db and mongoose