add getMessages.php
finish ajax