work of the night

search for consultant: should work; haven't been totally test. to be
tested
search for client: to be realised
solved the warning
todo ++: add encryption, check names of the columns, some improvements
depending on the answers of my questions, check names/integer are
correct functions