Support login with titanium