Admin middleware for rendering