public void addUser(UserIDAssociation user)
 {
     if (user != null)
     {
         this.dataModel.UserTable.Add(user.User.UserID, user);
     }
 }
 /// <summary>
 /// attempts to load the current user with the provided user id
 /// </summary>
 /// <param name="userID">id of user to load</param>
 /// <returns>reference to the previous loaded user</returns>
 public UserIDAssociation loadUser(String userID)
 {
     UserIDAssociation oldUser = this.currentUser;
     UserIDAssociation user = this.dataModel.UserTable.Keys.Contains(userID) ?
         this.dataModel.UserTable[userID] : null;
     this.currentUser = user != null ? user : this.currentUser;
     return oldUser;
 }
 private PrototypeSession()
 {
     this.dataModel = new PrototypeModel();
     this.currentUser = null;
 }