Added condition to show desired page but it is not working.