fixed query problem, changed schema for UserID