added controller with index