fix delete statement header
implement delete method in model
get current url