refactor controller file to show title and validate JSON on front end
refactor controller file to show title and validate JSON on front end

andela-oawofadeju/inverted-index,andela-oawofadeju/inverted-index