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