updates user management and sessions