Fix showing admin links when session is set