Added code for add group