Added missing method in the MessageRepository interface, and fixed the UserServiceTest so it now passes