retrieve passwordhash function from user service