Access denied when just a bit late
Perhaps change this into a: we're sorry the lab has closed like message if time < endtime + x; or if user is at least in that course vs random user.
Perhaps change this into a: we're sorry the lab has closed like message if time < endtime + x; or if user is at least in that course vs random user.