exports.getCurrentUser = (req, res) => {

    // The user that is a parameter of the request is stored in 'userParam'
    let user = req.user;