created validations and tests for user table