addition of code to add persons and function to check that email is unique to person_model