email works as login, about to add code gen