setup a view based system to control the access to the different views