Adjust checkin module to match the modified database schema. Fully functional with error checking.