Added code to show page address

Adapted code so that it displays page attempted to access.