Added code for displaying webpages