use hash to save user info