linked up views to controllers