Refine check-in/out functions
Fix issue with checked_out_by!

This was always returning nil