mocked up post and topic generate controller