Changed authenticate and auto_login back