Fixed incorrectly name variable in createUser factory.