Changed some stuff to the authentication
Added authentication class for OpenFire
Merge remote-tracking branch 'origin/master'