adding log on access to the index controller