change name to match username
pass id as function (or generated)
log searches