adding the createUser() method