update navigation, redirect to login if not logged in