Everything a professional is told has to be kept confidential, unless you are at risk causing harm/death to someone else or yourself or someone else is causing you harm. they should have told you this, if not there is a fault but regardless if they told you or not this is what they have to do by law, this is to protect you and the others around you, professionals (doctors, counsellors and even teachers) are not aloud by law to keep 'secrets' of vital things that can bring you and others great harm, he's doing his job correctly in protecting you, by getting you the right service and (unless over a certain age) contacting your parents. It may sound unfair because you may have felt you weren't ready to tell and feel betrayed which is highly understandable but these are laws to protect everyone nobody is an exception and they really do have to do their duty of care for you
Though you feel betrayed please go on with this, its a hard time but just be honest, they don't expect you to spill out all your troubles out the first day dont worry, it will take time but it will help you, if not they will place you in another service that is best for you personally. good luck :)