if ($username eq $security && !($type eq "Check In" || $type eq "Check Out")) { }