Added mail check on registration process