ADDED FUNCTIONALITY: Search student based on dynamic query