fixed an issue with the nav bar being hidden after logging in