Changed event registration

Change-Id: I04eda28dec5697bd192dd500147977182ec49ef1
Signed-off-by: EssexIO <essexwebsec@gmail.com>