finalized the user search