deleted renew cookie method