Moved login code to ircBot