have  a rough understanding of sending ajax json-data req
gonna finish add like func tomorrow