use UserTable to save new registrations to the database by modifying RegisterController class