defined download function for book controller
created route for book/download/<id>
defined pdf_download function for book controller