added setAuth hack; removed erroneous debugging lines