finished user model(with secure digest)