fixes fillProfile method when user with no email defined is present