session implemented on first page