userinfo to db