Updated user relaod rate refresh and added checks for failed strdup