Fixed error in createnewpost
Adding an item now properly creates a new post for it and uploads

Can transition into collecting all the items into an array and then
sending each one to the server when the user actually posts