if (($username eq "$security") && ($type ne "Check In" || $type ne "Check Out")) { #### if (($username eq "$security") && ($type ne "Check In")) {