remove docuemnt.write junk from before
debug on ajax login
Merge pull request #479 from jessevondoom/master

debugging test server, minor changes #ciskip