field validation and dealing with openids