returning just sid for generateSessionId