Added check for session start