Amended AdminController to handle template vars

Layout now has global user and activenav vars