Yes I believe they are hydra.
Add aquarium salt, 1 tablespoon per 10 litres. Ensure it is dissolved before adding. Leave the salt in there for two weeks. If you do a water change you will need to replace the salt that is removed (for example, if you change 50 litres of water, also replace 5 tablespoons of salt).
After two weeks remove the salt graduallt. Do a 10% water change daily fir a week, then a 20% water change daily for a week, then return to your regular schedule.