added possibility to track on which department was author working
some fixes