complete the search function for frontpage.html and add config.php