Created Post Controller to view posts and details