password digest to user model