login now uses judge object rather than user