How To Switch to Ajax-based Authentication in Laravel 6