added logic to prevent students from swiping in if they are in the visit table and their timeOut is null