Refactor PersonController Class