finish fullname method and refactor the index, ontreatment page