using person model in view and controller