Ok, a second after i sent this i notice that the createpassword parameter should be an int not a boolean, so setting it to 1 did the trick
hope this might help someone in the future
hope this might help someone in the future