added export for getUserPassword