fixes routing error and properly displays user information in header