add instance variable passing to views when defined in controller