event registration and withdrawal working