change login method used