getLayout (type, userId) {
    return new Promise((resolve, reject) => {
      const options = {
        url: `api/user/layouts/${type}`,
        method: 'GET',
        params: { userId }
      };

      Vue.axios(options).then((response) => {
        resolve(response.data);
      }, (error) => {
        reject(error.data);
      });
    });
  }
Gets a user's custom layouts
@param {string} type       The type of the layout to get
@param {string} userId     The unique identifier for a user
                           (only required if not the current user)
@returns {Promise} Promise A promise object that signals the completion
                           or rejection of the request.