add user lookup function