try {
    unless(isLoggedInUser, {
      code: 401,
      msg: 'Only authenticated users can post on discussions'
    })(ctx);