res.redirect doesn't seem to work via socket, so changing destroy to form as well