Added log and user mocks.