Add a post: writing chat application