Add method to get users by their preference