finished register user and login functions for users.js with working test code
Merge branch 'master' of https://github.com/seangodard/spread