propper error handling on delete account