make getUser return nice objects