in if condition that is login success you get the reference of that lable and set that label text to that user name
Label lb=(Label)Master.FindControl("Id of the Label")
lb.text=userNameTextBox.Text
Note: It will WORK YOU ONLY WHEN YOU ADD MASTERTYPE DIRECTIVE IN THAT PAGE