ajax nav making back button funky after logging in