getAllUsers: added search support for get users