Added validation and error messages for user count