Fixed bug where a new user was not able to be successfully created, because the addUserToList() function was referencing the wrong object