recoded the searchResident

show full result instead of asking to input keyword when no keyword is
provided