add cookie expire setting