some frontend demo method
properly use @delete