adding controller to view home