add login link to edit page