Updated sessionManagement