Dr. Destiny

John Dee was a Lexcorp employee who was caught smuggling weapons he was sent to jail where he volunteered to be a test subject for experimental esp technology during a prison break he exposed himself to the full energy of the technology and was given the power to control dreams and became Dr. Destiny with his new found powers he took over the dreams of the Justice League causing them to stay asleep Batman who hardly sleeps at night found him in the same ware house where he was caught smuggling goods and trapped him in his own dreams later on Grodd saved him and he joined the Secret Society