add size to gravatar, change password digest to password, add tests