pub fn get_userdata_dir() -> Result<PathBuf, Error>
Get the path to the userdata directory (for data files like connections)