Fix login malarkey