lots of changes made to the uploads method to ensure it works in production, additionally, added a UTC formatting for dates to format dates correctly