Made some changes to the master page and added the scriplets to show and hide buttons. Minor changes in the cs file