Make getUser more idiomatic