Change for register and login APIs