can now restfully create a post with a put request, add unit test for it too