add resend verify email and notify login function