delete account middleware for lockit