Recommendation On Search Form For People
I would recommend using the views module.

This is kind of a duplicate of your other question How to implement &#39;Starts With&#39; for exposed filter of User ID, where I explained how to do what you want with views.