changes to admin controller