updated user schema and references