Add array handler to avoid double session