#!/usr/bin/env python3 import json # Set the content type to JSON print("Content-Type: application/json") print() # Blank line to separate headers from body # Return a default response (user not logged in) response = { "loggedIn": False, "membershipLevel": None } # Output the JSON response print(json.dumps(response))