adding user seach function and jquery implemntation.