Added create post handler