Added cookie validity + autoformat