edits posts/index, posts/show and posts/new as well as the controller actions. added a static controller with views