You were an authorized user on your mothers account not a card holder and after her bankruptcy a collection agency is harassing you?

If you are an authorized user then it is not your debt but your mother's debt. Your mother's bankruptcy discharged (wiped out) the debt in question. The collection agency is not allowed to collect from you as, again, it is not your debt. This would not be the case if you were a joint debtor with your mother.