add two login method