implemented basic PUT /connections/{id}
implemented PUT /connections/{id}
fixed agreement id creation