added email verification part