Updated admin controller