added getLocalIdByEmail