Edited config/middleware/authorization.js and server/controllers/users.js