add crude session flash functionality