default session set in main page, issues with order of jquery functions
delayed one of the jquery functions