setup() and auth() in __main__