if ( !req.rem.db.findOne || !req.rem.db.update ) {
        return res.status(405).send("Method not allowed.");
    }