modifying method take of books_controller