making the gadget call the sql api wiht pram.
adding end time
pass action as a pram to gadget.
render all gadgets.
adding dummy data api