session component handles ajax form