Added UserGenerator class for all logic; Updated user form to use UserGenerator class