added checkin endpoint