CreatePost command and handler