modified main controller to instantiate @favorites