add successfully notice after sending the invitation code email. fixes #77