Persisting user id with session data after adding a user.