added logic to check whether this is a new page visit or a submit
left-aligned preformatted output text