login http method fix