You have to do the Nightingale questline in order to become the guild master. What it entails is to return the skeleton key (lock-pick thingy). Once you have done that complete 5 special jobs in the 4 major holds (Windhelm, Whiterun, Solitude, and Markarth).