Fixed to manage when the user/pwd data is empty