Adding Badges, UserBadges Scaffolds and refactoring views