add postUrl and deleteUrl methods