please add the corresponding `getUser` method and corresponding doc blocks