Oops, you have to authenticate here, too.
Front-end boilerplate for newa ttachments functionality.