Atlanta United tops Real Salt Lake 3-1