 
             user = users[0]
             data = {}
-
 
             updatePassword user, req.body, data, (libErr, userErr) =>
                 return res.send 500, error: libErr if libErr


                data.password = utils.cryptPassword newPassword
                adapter.updateKeys newPassword, cb
            else
                cb()


        User.all (err, users) ->
            next err if err



    updateAccount: (req, res, next) ->

        updateData = (user, body, data, cb) ->
            if body.timezone?
                #TODO CHECK TIMEZONE VALIDITY
