Set up logic for removing accounts