Electron acceleration in the aurora and beyond