chat bower socketio app maincontroller