Building the profile search widget