Added userId Parameter
Added class for prediction