created a method to delete a profile. however it isn't possible to do this yet since there is no button to call the method yet.