adding badge to pages