Changed login link to lead.
Removed xes on error. Fixes #187 and fixes #188