added repositories / debug methods / jdbc token store