added searching functionality for users