Session management

Attempted python forms for session management - forms incomplete