removed all the commented out trial code from auth.js