Future<String> getUserId() async { SharedPreferences sp = await SharedPreferences.getInstance(); return sp.getString('userId') ?? ''; }