change login method