allow match by email as well as uid