fixed posts controller to create post to topic assciation