added secure file upload feature to site options and a few other fixes