changed to correct json content type
wrapped in a div for better layout
added some styling to the warning message