some renaming of things and adding the checkin api call