auto login after logout fixed