Set up pass data to and display view using master template