SQL neatening and email verification