Linked the navigation bar with backend controllers