Added user table validations and tests