fixes for the bootstrap nav bar including giving proper login behavior