generate reccomendations controller