User session bugs solved