add login type when login_with_facebook, 0 as sign in, 1 as sign up