createUser modified