Added leveling functionality when a user gets a badge