implemented the "Confide" authentication solution by the MongoLid author, integrates well