updated user model to match client