made max connections/users a var