Here is controller.php
public function doLogin(Request $request){ $res = Auth::attempt([\'email\' => $request->email,\'password\' => $request->