added authentication exceptions for index and view