<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def login(self, url, payload):
 """Performe log in. url is the login page url, for example: https://login.secureserver.net/index.php? payload includes the account and password for example: ``{"loginlist": "YourAccount", "password": "YourPassword"}`` """

        self.auth = requests.Session()
        try:
            self.auth.post(url, data=payload, timeout=self.default_timeout)
            print("successfully logged in to %s" % url)
            return True
        except:
            return False