Anti depressants have possible side effects and needs special medical expertise to be prescribed, especially when it comes to the dosage and type.
2 patients with the same condition may need different types that suits their condition best.
It also requires careful monitoring by the GP or psychiatrist.
Sleeping pills can be addictive, and should also be prescribed by psychiatrists only, to prevent unchecked prescription and addiction without treating the cause of the insomnia.
Regular prescription of these pills are to be done by PSYCHIATRISTS ONLY as regulated by the Ministry of Health. Hope that helps!