add new person is funtional and index works