BaseForm class is created to handle the session variable setting - JJ