adding job search function for the UI