added most functionality for add person