slight modification for recommendation query.
add pin and rate to recommendation page