Fix build failure caused when you are not logged in. Add links to admin/user pages when you are admin.