moved admin menu to template