Review tools

@danmaclean This PR makes /tools require a user login and fixes the HTML so the extract sequence form submits.

However, it doesn't appear to work, failing with undefined method 'name' for nil:NilClass. I notice that it fails in the same way in the original app as well though, so can you advise on what's needed for a valid extraction?