added close tag in chat.php