Added post single doc and fixed bug in byId functions
Added date parsing
Remove debug logs