Added the function to delete account.