Made the user id transparent for session creation.