you didnt put on the citadel armour at the beginning.
the DK would have told you to disguise yourself. thats why ALL guards attack and you've been killing everything.
you'll have to restart a save prior to entering those 2 barracks levels if you want to do the quests and get the 100,000+ exp.