[Client] change loginMock to indexMock