fix account deletion bug in registration edit form