public function checknoti()
 {
     $notifications = notification::where('user_id', Auth::user()->id)->get();
     //dd(empty($notifications));
     if ($notifications->count()) {
         return response()->json(1);
     }
     return response()->json(0);
 }