set cookie time expiry = 30 seconds