/// <summary>
 /// page load
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Page_Load(object sender, EventArgs e)
 {
     administration = new Administration();
     if(Administration.LoggedInUser != null)
     {
         ClientScript.RegisterStartupScript(Page.GetType(), "alert", "alert('U bent al ingelogd. Log eerst uit om opnieuw in te loggen');window.location='index.aspx';", true);
     }
 }
 public void TestLogin()
 {
     Administration administration = new Administration();
     string email = "*****@*****.**";
     string password = "******";
     bool actual = administration.Login(email, password);
     Assert.AreEqual(true, actual, "The method Login did not return the expected value");
     Assert.AreEqual(Administration.LoggedInUser.Email, email, "The loggedin user's email doesnt match the expected email");
 }