Redirect to the same page when deleting or unlocking

Closes #7
What happens if there is no referer?