I am currently working in 4 tier architecture. In my presentation layer, the menu in master page is generated from XML file. I get a method from Service layer which returns list. Initially my XML file should be empty, as soon as the user login, XML file should automatically write the value from the List. This filled XML should be generated as menu.