def login(self):
    r = requests.post('https://w3b-api.ultramobile.com/v1/mint/login?', json={'msisdn': self.phone_number, 'password': self.password})
    if (r.status_code == 200):
        response = r.json()
        self.id = response['id']
        self.token = response['token']
        self.info[self.id] = {'phone_number': self.phone_number}
        self.master_account_details()
        return True
    else:
        return False
def login(self):
    r = requests.post('https://w3b-api.ultramobile.com/v1/mint/login?', json={'msisdn': self.phone_number, 'password': self.password})
    if (r.status_code == 200):
        response = r.json()
        self.id = response['id']
        self.token = response['token']
        self.info[self.id] = {'phone_number': self.phone_number}
        self.master_account_details()
        return True
    else:
        return False