Added email verification functionality