added use session option for forms