email is showing up as undefined