fixing auth. thank goodness