Added path for the cookie
Added path for the cookie when deleting it too
Added headers to avoid iOS to cache ajax-requests
Modified the index-file...a little
Added no-cache headers in the ajax-calls to avoid iOS-caching