fixed hash calls to use bcrypt-nodejs