fixing mail confirmation redirect