Hide sidebar on login and register page.