add enable cookie setting