new library and Logout demo