made all.js and all.css and all guests share same session
diff --git a/index.cgi b/index.cgi
index 3ec31e7..8a7a72e 100755
--- a/index.cgi
+++ b/index.cgi
@@ -21,11 +21,8 @@
 	# init request
 	try:
 		webnotes.http_request = webnotes.auth.HTTPRequest()
-	except Exception, e:
-		if webnotes.response['message']=='Authentication Failed':
-			pass
-		else:
-			raise e
+	except webnotes.AuthenticationError, e:
+		pass
 
 def respond():
 	import webnotes