.request({
            method: &quot;GET&quot;,
            url: &quot;https://rem-rest-api.herokuapp.com/api/users&quot;,
            withCredentials: true,
        })
        .then(function(result) {
            User.list = result.data
        })
    },

    current: {},
    load: function(id) {
        return m.request({
            method: &quot;GET&quot;,
            url: &quot;https://rem-rest-api.herokuapp.com/api/users/:id&quot;,
            data: {id: id},
            withCredentials: true,
       