flash notice when book is checked out
Google API request refactored