Renamed create jid function using barejid and resource
Renamed function in jid
Added cons output when logging in.

Fixed issue with creating a new account on reconnect