fix for #839

Updates Global for user data after registration, Fix for #839