changes to setPassword