Added secureOnly middleware item.