Attach userId in session