adding HEAD and OPTIONS