validate user data

Change-Id: I2a15f1101831d85b57e6fd92941282a60117f025