adding the view and controler to view a post