webpage content-type -- needs cleaning up and a security check once all the important bits are in place.