def METHOD_NAME(self):
    log.debug("Starting sessions...")
    for i in self.sessions:
        # Skip already created sessions. Useful when session manager controller is not created during startup.
        if sessions.sessions.get(i.get("id")) != None:
            continue
        # Create the session object based in session type.
        if i.get("type") == "mastodon":
            s = MastodonSession.Session(i.get("id"))
        s.get_configuration()
        if i.get("id") not in config.app["sessions"]["ignored_sessions"]:
            try:
                s.login()
            except Exception as e:
                log.exception("Exception during login on a TWBlue session.")
                continue
        sessions.sessions[i.get("id")] = s
        self.new_sessions[i.get("id")] = s