bugfix to properly set libraries last_login date/time