basic support for user events
register handlers based on reflection