change loginmethod