reversed logic in is_administrator function