Fixed login for mobile