add maxage to cookie
try no xhr polling