auth changes and overall improvements