Hi
Better way is after successful login you can store user name to a Session variable and
use this variable to set Text property of the label like this
Session["username"] = txtUser.Text;
where txtUser is the textbox in login page where you enter user name
then in the inner pages (or in the master page) you can set label text as below
lblUser.Text = Session["username"].ToString();