#!/usr/bin/python
import cgi,os,sys,re
from utils import *
from cookie import *
from konst import *
from prefs import *

print 'Content-Type: text/html'
sys.stderr = sys.stdout

if not os.environ.has_key('HTTP_COOKIE'):
    Redirect(kLoginPage)

print 'hello world'

comments = """
username=GetCookie('user')
if not username:
    Redirect(kLoginPage)

print '\n\n'
"""
