validateJWT = (decoded) => {
    if (!people[decoded.id]) {
      return { valid: false };
    }

    return { valid: true };
  }
creates a Hapi server using JWT auth

@param  {Object} swaggerOptions
@param  {Object} routes
@param  {Function} callback