ensure consistent user object structure