@if (Route::has('login')) @endif

Loans REST API is all set.

Login