Adding middleware to admin controller