added predict_rating method to User