added create (post)
removed test
removed some duplicate logic in delete