Added AdminLogout and a few other changes in the DynaLibrary.