Fixed auth check on single view.