refactored invite view a bit (customer.io tracking)
improved the registration test, pep8 cleanup