move all post related things to PostsController