fixed the null error for registered user email list