Persists user data.