firebase factory, one app per user, improved draw, still bugs left