Added password digest, password validation and password field to users, added some tests