updating some libraries, implementing file upload, improved access control, fixed permission bug