functions for search
dynamic search for users works