Replacing the laravel authentication with a custom authentication I had built my laravel project and then had a task to replace the larevel default a.