login state loaded from internal database