resolved mayor checkout in chekout method of checkin.php