added code to get checkin checkout details