finished functionality for departments page.  Also fixed a bug in employees where employees without a dept or job title would cause an error in the view