correctly compare referer and host
removed old debug code
correctly compare referer and host
added help page.