/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index(Request $request)
 {
     $user = $request->user();
     $apps = App::findByUser($user);
     return view('dashboard', ['apps' => $apps]);
 }