changes made in create domain function
fetch cos id from cos name changes made
changes made to create new domain