finished CreateUser Code