Fix last errors with sessions and users management