Fixed some realtions between users and departments