How da hell do you pull off the hub from drum!

Mine did not just slip off like the rear. In fact I had to take out the cotter pin, take off the nut and slip the whole thing off the spindle. Then after about 20 mins of beating the stud with a hammer the two came apart. I said a few choice words then started on the studs. One bent and the other just barely moved. Then looking at the hub I see the edges are scuffed. I will post pics later