Modified codes for department manage pages