Changed rules, eventing and main. Deleted user and other