set email as username at the time of registration