modifies the views so that admin and non-admin are different