add tests for authentication
add links for editing locations and departments