added the front-end for deleting profiles.