implemented searching of the users collection