add error display to the new session template