Implemented check-in functionality.