Moved logic from controller to service class , now in case I would need to call it without controller whole logic is in one place.
Added checking if found results before calling for more info
todo: missing logging (connection to mySQL)