Log in with SWC API