added header and session helpers