code to set the nick to the suggested nick is moved to session.js.