send https link in invite email.  use ssl middleware before static assets