Added controller for adding posts to thread.