Added profile search functionality.