Here's a good site with a lot of links to articles, research and resources on the subject of sleeping pills and sleep medications to treat insomnia. The link is:
http://www.helpguide.org/life/sleep_aids_medication_insomnia_treatment.htm