made top bar links show only if authenticated