Fixed hole in check_admin controller