updated user model for badges