Api changing of login case