added entity validation
user create: added code