Adding click functionality to student search