add user info and update database class