Add all() method to User's class