working on search courses functionality