adding checkin ajax call