Full-Bridge Inverter
Here's the data sheet for the driver and here's a typical circuit used to drive IGBTs: -



You should be able to see where you have gone wrong - you haven't coupled pin 5 to the emitter of IGBT1. Step and repeat for the other devices.


  Also i wanted to know is it necessary for optocouplers to have
  isolated supply.


Absolutely!