isAdmin declared in pageacess