Modified the login for mobile version to deal with chrome blank pages