added validations for users and list