Altering navbar to show appropriate options.