add functions search and get home data to losodb.