added export for setUserPassword