add create/delete actions and tests for post