//Adds user and sets them to unconfirmed. public FailureType requestAccount(Client requestingUser) { //Checks for valid input if (requestingUser == null || requestingUser.Name == "" || requestingUser.Password == "") { return(FailureType.FailedInvalidInput); } // user is not confirmed just yet requestingUser.Confirmed = false; //returns false if the username already exist Console.WriteLine("Adding user: " + requestingUser.Name); return(users.AddNewUser(requestingUser)); }