added edit config page and copy file to local MongoDB