code: def login(self, email, password):
          
          rsp = self._request()
          self.default_headers['Authorization'] = rsp.data['token']
          return rsp
docs: login using email and password
          :param email: email address
          :param password: password