Added cookie domain to extsess cookie and proper delete function