Added registration and eventlogger