added department db call
Merge https://github.com/pmgm/stationery_portal into 14feb
fixed reference to department variable in profile.html