made changes so that all views have to be authenticated