changed the method for creating user so that all the moodle default values are created properly