change html code to logout API