all functionality of form works with session