Fix isAuthenticated method and sidebar.png