fixed client link and url in emails to users