add_account will now yield account if block is given