fixed a sessions problem
more helper fixes
mail
mergin mail