made nav bar change depending on whether one is logged in or not