fixed issues with setting user data