Adding book checkout functionality.