Fixes navigation bar render after logout