creates posts controller. Added text to show and index pages.