addPerson refactored to controller package