forgot to remove 2 lines
add register and invite handlers