Added examples with session management