initial implementation for logout, getLibrarian, and validate