ajax the login/navbar headers