Changed registration to server side
Fix #2