fix #22

  Check if cozyInstance document exists