i need source code for the following:

1.i wish to display username in a label after they logged in. And the log-in name should remain till they log out.


2.And after they logged in i need to display the log-out button in asp.net

thank you