add functionality for delete profile.