Group actions on manifolds, rigidity and local rigidity