added edit viewing page