You need to add a ToString method call. Like this:
string username = Session["username1"].ToString();
Edit: You need to add an object to session in page one. Following should help:
In Page1:
Session.Add("Key","Value");
In Page2:
string sessionValue = Convert.ToString(Session["Key"]);