added new file CHAT.php
debugged session in chat