Navbar now updates correctly when creating an account