Optimized code for find person Php app.