deleting links works now. also logging in/out redirects to the prev page.