Added functionality to delete an account.