NOT recommended to have a relation to the jinn, as the majority of them will mislead human. Remember, they can see us from the way that we cant see them. So with such limitation the relation between human & jinn will become unbalance, where the jinn can easily cheat us & we wont know it. In the other case, bad jinn can easily (for any rason) disturb or even occupy human being who are not ask for the God's protection against the bad jinn (e.g. satan). Human being are recommended to always seek for God's protection against the bad jinn, due to our physical limitation in this "unbaalance relationship" (if we can say it like that).

The only human being who was given the chance (by the instruction of God) to rule all jinns are Nabiyullah (the messanger of God) Sulaiman (alahissalam). The bad jinns are not happy with this instruction, but they don't have ability to disobey this intruction. While on that time the magic is on its "shining" period all over the world. That's why they were very happy when they found Nabiyullah Sulaiman passed away on his pray, which mean it's end for their obligation from the obedience to human race.