edited users and sessions controllers