Allows profile editing

Also refactored inventoryInit.addItems into profile.updateCurrentUser and inventory.setup.