added valid email flag to users signup