checking to make sure that users is an array