xxxxxxxxxx
/*
Sources:
https://mongoosejs.com/docs/api.html#mongoose_Mongoose-model
https://stackoverflow.com/a/14454102/15328985
The first parameter is the model name, the third is the collection name. When
there's no collection name it uses the model name.
*/
var users = mongoose.model('User', loginUserSchema, 'users');
var registerUser = mongoose.model('Registered', registerUserSchema, 'users');