change login method after a method rename