validation added to profile model