Modified code for saving members
Added the delete member button