/// <summary>
 /// Loads the user that was last logged in.
 /// </summary>
 public void LoadLastUser()
 {
     if (Settings.Default.Username != string.Empty)
     {
         User usr = AvailableUsers.Where(i => i.Username == Settings.Default.Username).FirstOrDefault();
         if (usr != null)
         {
             LoginUser(usr);
         }
     }
 }
 /// <summary>
 /// Loads the user that was last logged in.
 /// </summary>
 private void LoadLastUser()
 {
     if (!string.IsNullOrEmpty(Settings.Default.Username))
     {
         User usr = AvailableUsers.Where(i => i.Username == Settings.Default.Username).FirstOrDefault();
         if (usr != null)
         {
             LoginUser(usr);
         }
     }
 }