Add template inheritance so that the views are different for the sidenav if you are in the admin area. It will also make adding beta users much easier to have template inheritance.