Login model quick fix.