fixed bug that caused system to use stored session in cookies instead of creating a new one for another user