Thanks for your response.
I finally got some idea, but now have another question!
WorkContext.Layout.Header.Add(New.User(), "1"); // Site name and link to the home page
Adding above line to the layout file adds a Login/Logout/and Dashboard link in the header. But at the wrong place. We want to add it to the different place, before header in the top-bar we're having.
Now, this line
WorkContext.Layout.UserNavigation.Add(New.User(), "1"); // Login and dashboard links
Which should add this to the User Navigation area doesn't add it. Actually this doesn't work at all.
So what is the logic behind this. And more importantly how to use this to place it at my specified place in the html markup?
Any help is appreciated.
Thanks in advance.