refresh,almost ok,except move search to user