Added code to create, edit, and delete contacts