extract the case class from objet
change test to make it receive json
make the controller userPost works as expected