improved userChema with required and unique flags, removed the custom User.create and used pre validate hook instead for generating the access token
improved userChema with required and unique flags, removed the custom User.create and used pre validate hook instead for generating the access token

iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap,iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap