Added conditional rendering of "Admin panel" link in menu