add loadingcontrol, almost done set lockscreen