Fixed bug where session params were not properly set on user's first visit