added pasword and authentication of pasword to user model