add login validation and mail sender proj