improve login+del resource file