Added ejabberd registration