added full search bar and department vailidations