Fixes a bug where "logout" nav bar would appear below regular nav bar