adding index default action and show action to subject controller and showing detailed subject data in show.html