public function index()
 {
     if (auth()->user()->can('book_manage_all')) {
         $books = Book::all();
     } else {
         $books = Book::whereUserId(auth()->user()->id)->get();
     }
     return view('admin.books.index', compact('books'));
 }