fixed validation issue in signup