bug fixing

1. Now server accepts multiple messages
2. added title before message
3. fixed formatting
4. this commit contains client side which was used for testing (written
by my classmate)