adding isadmin ifs