make cookie expire time as 24 hours