set cookie expire time to 30 days