WOrked on writing to file. Need tofix create accounts bug.