Large Mistake In My Session Management Logic