first(); Auth::login($user); return response()->json([ 'success' => true, 'user' => $user, 'company' => $user->companies()->first() ]); } }