Pull user id from ApplicationContext instead of window in file tree GitOrigin-RevId: e6c037b4a46ecdca066bcb5c67f6eeb8834f11fd