Refined e-mail invitation. Added logic to accept invitation & sign up