modify login as 4 types

modify login as 4 types