Fixed bug where files where not uploading, added route for categories