finally fixed the crashing
finished methods add, modify and display all/a contact. now just two more to right