adds destroy action for rails post