added users attributes and password digest in user model.