fix for #839

Updates Global for user data after registration
Update meanUser.js
Merge pull request #856 from enkodellc/patch-1

fix for #839