Added a user checkout function that allows user to checkout book and remove it from the book list