Revert "Revert "add users search proc""

This reverts commit 523d594cc38d52d53c77a48bbeed2b47db27128d.