convert timestamps, use a LIKE for userid search