Update Add a book.php

Right now I can connect and add to the book to the database. However I need to the user_ID to add the rating. Im still trying to figure out how.