// Create new user. let newUser = { username: req.body.username, password: passwordHashed, salt: salt, authorisationKey: authCode }; // From require('UserModel'); return ModelUser.create(newUser);