added LibraryLogin class
added libraryAjax login api