logout and buildings reuiqres login, except for index and show, [FIXES #46023931]