Made navbar links conditional