added socketio authorization