fixed devise mail templates and others issues