public function handle($request, Closure $next)
    {
        try {

            return parent::handle($request, $next);

        } catch (TokenMismatchException $e) {

            if ( ! $request->ajax() && ! $request->wantsJson()) {
                return redirect()->back()->withInput()->with('token', csrf_token());
            }

            return response('CSRF Token Mismatch', 500);
        }
    }