added controller and view for individual posts