added db connectivity for email verification method.