checkin functionality
Merge https://github.com/spartek273/Project273