Delete function

Sends ID to /data. Does not check if this user has the right to delete
it, but delete button is only shown if you have the right.