added department and edit userinfos