static createUserLayout (req, res) {
    let result;

    switch (req.params.type) {
    case 'sessionstable':
      result = UserAPIs.#setSessionColumnLayout(req);
      break;
    case 'sessionsinfofields':
      result = UserAPIs.#setInfoFieldLayout(req);
      break;
    case 'spiview':
      result = UserAPIs.#setSPIViewLayout(req);
      break;
    default:
      res.serverError(403, 'Invalid layout type');
    }

    if (!result.success) {
      return res.serverError(403, result.text);
    }

    User.setUser(result.user.userId, result.user, (err, info) => {
      if (err) {
        console.log(`ERROR - ${req.method} /api/user/layouts/${req.params.type}`, util.inspect(err, false, 50), info);
        return res.serverError(500, 'Create layout failed');
      }

      return res.send(JSON.stringify({
        success: true,
        name: result.layoutName,
        text: 'Created layout successfully'
      }));
    });
  }
POST - /api/user/layouts/:type

Creates a new user configured layout.
Valid layouts are: sessionstable, sessionsinfofields, spiview
@name /user/layouts/:type
@returns {boolean} success - Whether the operation was successful.
@returns {string} text - The success/error message to (optionally) display to the user.
@returns {object} layout - The new layout configuration.