A DRY approach for Nodejs to cut repetitive work involving the management of users with Mongoose and Passport