StateProvidor working changing views appropriately.