bugfix: user removal was not clearing template