all db tests passes after adding password digest and email attributes to user
can't find out error