AJAX PHP chat works

<TODO: edit the styles of the chat to look good>