Adding PUT and POST functionality.
Fixing transition on saving new contact.