hide some links when logged in as librarian
updated authorization helper