master [modified to use long for user creation]