New: added function to get all users