added security to the objects index