PDF page now renders pdf when ?pdf is added to end of URL