Update book_details.php, lib.php, nav.php

Add support (but not functionality) for admin users, fix redirect if on
login-requiring page without being logged-in.