updated with json post/test controller