hide logout button until authentication is implemented
a bit of refactoring