Future<void> login(Session session) async { await SessionManager.authenticateAsUser( session: session, ); state = AsyncValue.data(session); }