keeping localhost as a default in chat.php