started work on logic for edit department
added upper since it queried by case
added logic for typeahead when adding a person