protoype account logic