added post and get one document
added som param validation on router