finished -handleEditResource

need to work on -validateEdit and fix -handleGetResource error for
to-one relationships