Leverage MongoEngine and Security-Flask