public function getIndex() { $branches = Branch::with('user')->get(); return view('Branches.list', compact('branches')); }