fixed logging in/out bug when revisiting index route after navigating away from app: the logout header button would switch back to login. thus disallowing user to logout! bad.