add search function for view user