change login button method from put to get