move user extraction into view controller