added Session and Form classes