Many of thing

getting json from body
authentification
writing json to client