fix 4.0+ mainThread bug
catch error for sign in
for requirements