added validation
Merge branch 'master' of https://github.com/mick26/AUTH-Node-nG-Mongo-JWT