Cookie support to top of all pages + index fix

fixed index pointing to correct server