add errors example for sessions