add appid and userid fields