initialize autoLogin on each run