update for Craft

Updated small bits of controllers and templates for Craft.