modified the many-to-many relationship to follow the sqlalchemy recommandation. It allowed me to easily add a check prohibiting a user to subscribe many times to a same tree