added user model and mocha test