index template changes, added post method, improved url additions to check for www. and non www. ip differences