Removed some debugging code for referrer url