fix ipad login issue