fn fetch_current_user(ui: Rc<LibraryWindowUi>)
Fetch current logged-in API user ID and store it in app context.