modify write.pub, write.acc, write.key and write.con in server.R