Storing store tid in session