added userData sql stuff