Updates to search (still unoperational) and addition of chat.php