changed varible users to user to avoid ID conflict