reading response code when downloading profile