Future<String?> getUserId() async { SharedPreferences prefs = await SharedPreferences.getInstance(); return prefs.getString(userIdKey); }