public void addUser(string userName, string password)
 {
     foreach (string username in Usernames)
     {
         if (username.CompareTo(userName) == 0)
         {
             throw new UserAlreadyExistsException();
         }
     }
     DirectoryInfo userDirectory = createRandomDirectory();
     JSONBlogUser  user          = new JSONBlogUser(userDirectory, userName, password);
 }
 public void addUser(string userName, string password)
 {
     foreach (string username in Usernames)
     {
         if (username.CompareTo(userName) == 0)
         {
             throw new UserAlreadyExistsException();
         }
     }
     DirectoryInfo userDirectory = createRandomDirectory();
     JSONBlogUser user = new JSONBlogUser(userDirectory, userName, password);
 }