Correct getUsers method
Change type of message to enum