public function index() { $accounts = Account::latest('created_at')->get(); return view('accounts.index', compact('accounts')); }