updated setup callback to fix oauth login