event registration prototype