email login starts to look like an amd package