added unit tests for logout, validate, and getLibrarian