Simplified checkin.php