new profile model, and dialog api usage