Fix login controllers