added myposts and json check