Setting up the posts_controller