login fix & iOS UserAgent