Incomplete search functionality implementation to compete.php