fixed login controllers