Fix broken library-version and logout methods. Close #4.