cleaned up uncommented methods in badge_repository and user_badge_repository