made user model with password_digest