set the cookie lifetime to 7 days