rename login api